﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.CRM.IndustryCategory
{
    /// <summary>
    /// 行业类别
    /// </summary>
    public class IndustryCategoryRequestDto
    {
        /// <summary>
        /// 行业类别名称
        /// </summary>		
        [Display(Name = "行业类别名称")]
        [Required(ErrorMessage = "{0} 不应为空")]
        [StringLength(50, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
        public string IndustryCategoryName { get; set; }
        /// <summary>
        /// 父级行业类别Id
        /// </summary>		
        [Display(Name = "父级行业类别Id")]
        public long? ParentIndustryCategoryId { get; set; }
    }
}

